<template>

        <div class="copy-container center-xy">
            <p>404,没有找到该页面.将在{{num}}秒后回到首页</p>
    </div>
</template>

<script>
export default {
    data() {
        return {
            num:5
        }
    },
    created() {
        let timer=setInterval(() => {
            this.num--;
            if (this.num==0) {
                clearInterval(timer)
                this.$router.push('/home')
            }
        }, 1000);
    },
};
</script>

<style>
</style>